package cn.iocoder.yudao.module.exam.controller.admin.studentpaper.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import java.math.BigDecimal;

@Schema(description = "管理后台 - 试卷管理新增/修改 Request VO")
@Data
public class StudentPaperSaveReqVO {

    @Schema(description = "试卷ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "14573")
    private Long id;

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "编号不能为空")
    private String paperCode;

    @Schema(description = "考试ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "32295")
    @NotNull(message = "考试ID不能为空")
    private Long examId;

    @Schema(description = "批次ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "4594")
    @NotNull(message = "批次ID不能为空")
    private Long batchId;

    @Schema(description = "学生ID", example = "27762")
    private Long studentId;

    @Schema(description = "学生姓名", example = "芋艿")
    private String studentName;

    @Schema(description = "学号")
    private String studentNo;

    @Schema(description = "考号")
    private String examNo;

    @Schema(description = "班级")
    private String className;

    @Schema(description = "试卷扫描件路径", requiredMode = Schema.RequiredMode.REQUIRED, example = "https://www.iocoder.cn")
    @NotEmpty(message = "试卷扫描件路径不能为空")
    private String paperImageUrl;

    @Schema(description = "OCR识别状态", example = "1")
    private Integer ocrStatus;

    @Schema(description = "批阅状态", example = "1")
    private Integer markingStatus;

    @Schema(description = "总得分")
    private BigDecimal totalScore;

    @Schema(description = "班级排名")
    private Integer classRank;

    @Schema(description = "年级排名")
    private Integer gradeRank;

}